<?php class t{ public function test() { echo 'test called <br/>'; return $this; }}$T = new t();$T->test()->test()->test()->test();